#!/bin/bash
trap 'echo Abort ; exit 1' ERR

echo Init ScratchBox2.
TARGET=arm-linux-gnueabi
cd /opt/armgcc/rootfs/
sb2-init -c `which qemu-arm` 9263 ${TARGET}-gcc
